Release 10.1A: OpenEdge Application Server:
Developing AppServer Applications


Using the SERVER-CONNECTION-ID attribute

For more complicated context than you might want to store in the SERVER-CONNECTION-CONTEXT attribute, you might choose to use a context database. In this case, you can use the SERVER-CONNECTION-ID attribute as a primary key to help you store and retrieve the context for each client connection. A context database is an application database that is connected to and accessible from each AppServer agent on the AppServer.

Because the SERVER-CONNECTION-ID is a globally unique ID, OpenEdge ensures that no two connections on a computer network have the same value. Before a request is executed within an AppServer session, OpenEdge also ensures that the SERVER-CONNECTION-ID is set to the ID for the connection on which the request was received. This value is also available to any Connect procedure, Activate procedure, Deactivate procedure, or Disconnect procedure that you configure for the AppServer.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095